﻿using System;
using System.Collections.Generic;
using Shpm.System.Db;

namespace Shpm.App.Commons.Db.Beans.Master
{
    [Serializable()]
    public class MstEmployeeBean : ShpmBaseBean
    {
        private string employeeId;
        private string employeeName;
        private string role;

        private string employeeJob;
        private string employeeLevel;
        private string employeeStatus;
        private Nullable<DateTime> employeeDate;
        private Nullable<int> personId;
        private Nullable<int> jobId;
        private string employeeRelation;
        private string employeeRelationMemo;
        private string employeeRecord;
        private string employeeInsurance;
        private string employeeAccumulation;
        private string employeeAccumulationAccount;
        private string employeeDole;
        private string groupId;
        private string jobLimit;
        private string departId;//部门编号


        public string DepartId
        {
            get
            {
                return departId;
            }
            set
            {
                departId = value;
            }
        }
        public string GroupId
        {
            get
            {
                return groupId;
            }

            set
            {
                groupId = value;
            }
        }
        public string JobLimit
        {
            get
            {
                return jobLimit;
            }

            set
            {
                jobLimit = value;
            }
        }

        public Nullable<int> JobLimitInt
        {
            get
            {
                try
                {
                    return Convert.ToInt32(this.jobLimit);
                }
                catch
                {
                    return null;
                }
            }
        }

        public string EmployeeDole
        {
            get
            {
                return employeeDole;
            }

            set
            {
                employeeDole = value;
            }
        }
        public string EmployeeAccumulation
        {
            get
            {
                return employeeAccumulation;
            }

            set
            {
                employeeAccumulation = value;
            }
        }
        public string EmployeeInsurance
        {
            get
            {
                return employeeInsurance;
            }

            set
            {
                employeeInsurance = value;
            }
        }
        public string EmployeeRecord
        {
            get
            {
                return employeeRecord;
            }

            set
            {
                employeeRecord = value;
            }
        }
        public string EmployeeRelationMemo
        {
            get
            {
                return employeeRelationMemo;
            }

            set
            {
                employeeRelationMemo = value;
            }
        }
        public string EmployeeRelation
        {
            get
            {
                return employeeRelation;
            }

            set
            {
                employeeRelation = value;
            }
        }
        public string EmployeeJob
        {
            get
            {
                return employeeJob;
            }

            set
            {
                employeeJob = value;
            }
        }
        public string EmployeeAccumulationAccount
        {
            get
            {
                return employeeAccumulationAccount;
            }

            set
            {
                employeeAccumulationAccount = value;
            }
        }

        public string EmployeeLevel
        {
            get
            {
                return employeeLevel;
            }

            set
            {
                employeeLevel = value;
            }
        }

        public MstEmployeeBean()
        {
        }

        public string EmployeeId
        {
            get
            {
                return employeeId;
            }

            set
            {
                employeeId = value;
            }
        }

        public string EmployeeName
        {
            get
            {
                return employeeName;
            }

            set
            {
                employeeName = value;
            }
        }

        public string Role
        {
            get
            {
                return role;
            }

            set
            {
                role = value;
            }
        }

        public string EmployeeStatus
        {
            get
            {
                return employeeStatus;
            }

            set
            {
                employeeStatus = value;
            }
        }

        public Nullable<int> PersonId
        {
            get
            {
                return personId;
            }
            set
            {
                personId = value;
            }
        }

        public Nullable<DateTime> EmployeeDate
        {
            get
            {
                return employeeDate;
            }
            set
            {
                employeeDate = value;
            }
        }

        public Nullable<int> JobId
        {
            get
            {
                return jobId;
            }
            set
            {
                jobId = value;
            }
        }
    }
}
